package com.vogue.supplymall.order.domain.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * The type Order.
 */
@Entity
@Table(name = "order")
public class Order extends TendBaseEntity implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = -2085493457656906822L;
	/**
     * 订单编号
     */
    private String ordernumber;
    /**
     * 系统注册号id
     */
    private Long syscodeid;
    /**
     * 提交状态0:未提交 1:已提交
     */
    private Integer commitflag;
    /**
     * 订单总件数
     */
    private Integer totalquantity;
    /**
     * 订单总价格
     */
    private BigDecimal totalprice;
    /**
     * 订单备注
     */
    private String memo;
    /**
     * 运费
     */
    private BigDecimal freight;
    /**
     * 调整价格：卖家调整订单的价格
     */
    private BigDecimal adjustprice;
    /**
     * 是否开具发票 0:不开发票 1:开发票
     */
    private Boolean isInvoice = false;
    /**
     * 禁用标志
     */
    private Boolean disabledflag = false;
    /**
     * 订单最终价格
     */
    private BigDecimal finalprice;

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    public Long getSyscodeid() {
        return syscodeid;
    }

    public void setSyscodeid(Long syscodeid) {
        this.syscodeid = syscodeid;
    }

    public Integer getCommitflag() {
        return commitflag;
    }

    public void setCommitflag(Integer commitflag) {
        this.commitflag = commitflag;
    }

    public Integer getTotalquantity() {
        return totalquantity;
    }

    public void setTotalquantity(Integer totalquantity) {
        this.totalquantity = totalquantity;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public BigDecimal getAdjustprice() {
        return adjustprice;
    }

    public void setAdjustprice(BigDecimal adjustprice) {
        this.adjustprice = adjustprice;
    }

    public Boolean getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Boolean invoice) {
        isInvoice = invoice;
    }

    public Boolean getDisabledflag() {
        return disabledflag;
    }

    public void setDisabledflag(Boolean disabledflag) {
        this.disabledflag = disabledflag;
    }

    public BigDecimal getFinalprice() {
        return finalprice;
    }

    public void setFinalprice(BigDecimal finalprice) {
        this.finalprice = finalprice;
    }
}